package com.ruoyi.common.workflow.service.impl;

import com.ruoyi.common.workflow.service.INodeAssigneeService;
import com.ruoyi.workflow.api.RemoteActNodeAssigneeService;
import com.ruoyi.workflow.api.domain.ActNodeAssignee;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class NodeAssigneeServiceImpl implements INodeAssigneeService {

    @DubboReference
    private RemoteActNodeAssigneeService remoteActNodeAssigneeService;

    @Override
    public ActNodeAssignee getInfoSetting(String processDefinitionId, String nodeId) {
        return remoteActNodeAssigneeService.getInfoSetting(processDefinitionId,nodeId);
    }
}
